﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity.Utility;

namespace Giraffe.Core.Common.Messengers
{
    public interface IMessengerConversation
    {
        IMessengerContact Companion { get; }

        DateTime SendMessage(string message);


        event Action<IMessage> MessageReceived;
        
        //ICQ and Skype don't support getting history from service.
        IEnumerable<IMessage> GetHistory(TimeSpan period);

        void Close();
    }
}
